package jwcb.javapjframework.ms_template.service.controller;

import jwcb.javapjframework.common.domain.domain.R;
import jwcb.javapjframework.ms_template.service.service.RedisListTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/redis/test")
public class RedisListTestController {

    @Autowired
    private RedisListTestService testService;



    @GetMapping("/testListOperations")
    public String testListOperations() {
        return testService.testRedisListOperations();
    }
}